﻿namespace HiTeachers.Utilities
{
    public static class StringEngine
    {
        public static string Sub(this string strText, int length)
        {
            return strText.Length <= length ? strText : strText.Substring(0, length);
        }
    }
}
